#ifndef AUTOMATIC_H
#define AUTOMATIC_H

#include <QWidget>
#include"audiocapture.h"
#include"speechrecognition.h"
#include"signsls_slots.h"
namespace Ui {
class automatic;
}

class automatic : public QWidget
{
    Q_OBJECT

public:
    explicit automatic(QWidget *parent = nullptr);
    ~automatic();

private slots:


    void on_start_btn_clicked();

    void on_stop_btn_clicked();

    void on_pushButton_clicked();
signals:
    void showMenu();
    void openlight();
private:
    AudioCapture myAudioCapture;    //录音功能封装对象
    speechrecognition *speech;
    Ui::automatic *ui;
    SignslS_SlotS *m_hub;

};

#endif // AUTOMATIC_H
